package com.cropdoctor.service;

import com.cropdoctor.common.Result;
import com.cropdoctor.model.dto.FeedBackDto;
import com.cropdoctor.model.po.FeedBackPo;
import com.cropdoctor.model.vo.FeedBackVO;

import java.util.List;

public interface FeedBackService {
    Result<String> submitFeedBack(FeedBackPo feedBackPo);

    Result<List<FeedBackDto>> getHistoryFeedBack(long idUser);

    Result<List<FeedBackDto>> getAllFeedBack();

    Result<String> adminDeleteById(Long id);

    Result<String> updateFeedBack(FeedBackPo feedBackPo);

    Result<String> userDeleteById(Long id);

    Result<List<FeedBackVO>> adminGetAllFeedBack();
}
